﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HF.Framework.Log;
using ZX.SYS.Bussiness.Message;
using ZX.SYS.Library;
namespace HF.Service
{
    public class PushTimeService
    {
        public PushTimeService()
        {

        }
        public void Start()
        {
            try
            {
                createPushTimeData();
            }
            catch (Exception ex)
            {
                LogData.WriteLog("RemindService错误:" + ex.Message.ToString(), "推送信息");
                LogData.WriteAppServerLog("RemindService错误:" + ex.Message.ToString(), "4");
            }
        }
        private void createPushTimeData()
        {
            BDatMessageQueue Bdm = new BDatMessageQueue(); // TODO: 初始化为适当的值
            DateTime CurrentTime = DateTime.Now; // TODO: 初始化为适当的值
            string msg=Bdm.PushMessages(CurrentTime);

           // LogData.WriteAppServerLog(msg+"[收集信息并且推送信息!!!!!]", "2");
        }
    }
}
